#include <linux/cdev.h>

#define SCULL_MAJOR 0
#define SCULL_MINOR 0
#define SCULL_NR_DEVS 4
#define SCULL_QUANTUM 4000
#define SCULL_QSET 1000

struct scull_dev {
    struct scull_qset *data;
    int quantum; /* the current quantum size */
    int qset; /* the current array size */
    unsigned long size; /* amount of data stored here */
    // TODO: other members
    struct semaphore sem;
    struct cdev cdev; /* Char device structure */
};


